package com.framework.modules.live.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.framework.common.utils.PageUtils;
import com.framework.common.utils.Query;

import com.framework.modules.live.dao.LiveApplyDao;
import com.framework.modules.live.entity.LiveApplyEntity;
import com.framework.modules.live.service.LiveApplyService;


@Service("liveApplyService")
public class LiveApplyServiceImpl extends ServiceImpl<LiveApplyDao, LiveApplyEntity> implements LiveApplyService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<LiveApplyEntity> page = this.selectPage(
                new Query<LiveApplyEntity>(params).getPage(),
                new EntityWrapper<LiveApplyEntity>()
        );

        return new PageUtils(page);
    }

}
